import request from "@/service";
import config from "@/config";

const baseRequestUrl_fir: string = config.baseRequestUrl_fir;
const baseRequestUrl_sec: string = config.baseRequestUrl_sec;

export const getLaws = () => {
  return request.post(baseRequestUrl_fir + "/queryAirUserPageList");
};

export const getLife = (data: {}) => {
  return request.get(baseRequestUrl_sec + "/news/getNewsTypeList", {
    params: data,
  });
};
